@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.
- package/README.md +594 -0
- package/dist/module.d.mts +158 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +957 -0
- package/dist/runtime/assets/css/jun.css +13 -0
- package/dist/runtime/components/JunAnnouncement.d.vue.ts +3 -0
- package/dist/runtime/components/JunAnnouncement.vue +88 -0
- package/dist/runtime/components/JunAnnouncement.vue.d.ts +3 -0
- package/dist/runtime/components/JunAppreciate.d.vue.ts +6 -0
- package/dist/runtime/components/JunAppreciate.vue +71 -0
- package/dist/runtime/components/JunAppreciate.vue.d.ts +6 -0
- package/dist/runtime/components/JunBackgroundPhoto.d.vue.ts +3 -0
- package/dist/runtime/components/JunBackgroundPhoto.vue +23 -0
- package/dist/runtime/components/JunBackgroundPhoto.vue.d.ts +3 -0
- package/dist/runtime/components/JunBlobBackdrop.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunBlobBackdrop.client.vue +120 -0
- package/dist/runtime/components/JunBlobBackdrop.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunBreadcrumbs.d.vue.ts +16 -0
- package/dist/runtime/components/JunBreadcrumbs.vue +63 -0
- package/dist/runtime/components/JunBreadcrumbs.vue.d.ts +16 -0
- package/dist/runtime/components/JunCampfireChat.d.vue.ts +14 -0
- package/dist/runtime/components/JunCampfireChat.vue +136 -0
- package/dist/runtime/components/JunCampfireChat.vue.d.ts +14 -0
- package/dist/runtime/components/JunCampfirePanel.d.vue.ts +33 -0
- package/dist/runtime/components/JunCampfirePanel.vue +202 -0
- package/dist/runtime/components/JunCampfirePanel.vue.d.ts +33 -0
- package/dist/runtime/components/JunCampfirePresence.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunCampfirePresence.client.vue +321 -0
- package/dist/runtime/components/JunCampfirePresence.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunCampfireRoster.d.vue.ts +19 -0
- package/dist/runtime/components/JunCampfireRoster.vue +259 -0
- package/dist/runtime/components/JunCampfireRoster.vue.d.ts +19 -0
- package/dist/runtime/components/JunCampfireYou.d.vue.ts +10 -0
- package/dist/runtime/components/JunCampfireYou.vue +157 -0
- package/dist/runtime/components/JunCampfireYou.vue.d.ts +10 -0
- package/dist/runtime/components/JunDocSurface.d.vue.ts +34 -0
- package/dist/runtime/components/JunDocSurface.vue +117 -0
- package/dist/runtime/components/JunDocSurface.vue.d.ts +34 -0
- package/dist/runtime/components/JunFestivalPlayer.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunFestivalPlayer.client.vue +471 -0
- package/dist/runtime/components/JunFestivalPlayer.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunFooter.d.vue.ts +3 -0
- package/dist/runtime/components/JunFooter.vue +102 -0
- package/dist/runtime/components/JunFooter.vue.d.ts +3 -0
- package/dist/runtime/components/JunGlobeEditor.client.d.vue.ts +43 -0
- package/dist/runtime/components/JunGlobeEditor.client.vue +315 -0
- package/dist/runtime/components/JunGlobeEditor.client.vue.d.ts +43 -0
- package/dist/runtime/components/JunGlobeMap.client.d.vue.ts +58 -0
- package/dist/runtime/components/JunGlobeMap.client.vue +495 -0
- package/dist/runtime/components/JunGlobeMap.client.vue.d.ts +58 -0
- package/dist/runtime/components/JunHead.d.vue.ts +3 -0
- package/dist/runtime/components/JunHead.vue +79 -0
- package/dist/runtime/components/JunHead.vue.d.ts +3 -0
- package/dist/runtime/components/JunHorizontalTimeline.d.vue.ts +0 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue +363 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue.d.ts +0 -0
- package/dist/runtime/components/JunImagePopup.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunImagePopup.client.vue +422 -0
- package/dist/runtime/components/JunImagePopup.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunIntro.d.vue.ts +3 -0
- package/dist/runtime/components/JunIntro.vue +156 -0
- package/dist/runtime/components/JunIntro.vue.d.ts +3 -0
- package/dist/runtime/components/JunItemMenu.d.vue.ts +50 -0
- package/dist/runtime/components/JunItemMenu.vue +97 -0
- package/dist/runtime/components/JunItemMenu.vue.d.ts +50 -0
- package/dist/runtime/components/JunLinksRow.d.vue.ts +19 -0
- package/dist/runtime/components/JunLinksRow.vue +96 -0
- package/dist/runtime/components/JunLinksRow.vue.d.ts +19 -0
- package/dist/runtime/components/JunLogo.d.vue.ts +15 -0
- package/dist/runtime/components/JunLogo.vue +360 -0
- package/dist/runtime/components/JunLogo.vue.d.ts +15 -0
- package/dist/runtime/components/JunMedia.client.d.vue.ts +40 -0
- package/dist/runtime/components/JunMedia.client.vue +117 -0
- package/dist/runtime/components/JunMedia.client.vue.d.ts +40 -0
- package/dist/runtime/components/JunMosaicPane.client.d.vue.ts +24 -0
- package/dist/runtime/components/JunMosaicPane.client.vue +95 -0
- package/dist/runtime/components/JunMosaicPane.client.vue.d.ts +24 -0
- package/dist/runtime/components/JunNavigation.d.vue.ts +26 -0
- package/dist/runtime/components/JunNavigation.vue +1149 -0
- package/dist/runtime/components/JunNavigation.vue.d.ts +26 -0
- package/dist/runtime/components/JunNodePanel.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunNodePanel.client.vue +23 -0
- package/dist/runtime/components/JunNodePanel.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunNotFound.d.vue.ts +7 -0
- package/dist/runtime/components/JunNotFound.vue +137 -0
- package/dist/runtime/components/JunNotFound.vue.d.ts +7 -0
- package/dist/runtime/components/JunPageHero.d.vue.ts +25 -0
- package/dist/runtime/components/JunPageHero.vue +90 -0
- package/dist/runtime/components/JunPageHero.vue.d.ts +25 -0
- package/dist/runtime/components/JunPatternBackdrop.client.d.vue.ts +7 -0
- package/dist/runtime/components/JunPatternBackdrop.client.vue +95 -0
- package/dist/runtime/components/JunPatternBackdrop.client.vue.d.ts +7 -0
- package/dist/runtime/components/JunPeerCursors.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunPeerCursors.client.vue +123 -0
- package/dist/runtime/components/JunPeerCursors.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunPresenceBlobs.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunPresenceBlobs.client.vue +172 -0
- package/dist/runtime/components/JunPresenceBlobs.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunSearch.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunSearch.client.vue +809 -0
- package/dist/runtime/components/JunSearch.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunServiceCard.d.vue.ts +10 -0
- package/dist/runtime/components/JunServiceCard.vue +145 -0
- package/dist/runtime/components/JunServiceCard.vue.d.ts +10 -0
- package/dist/runtime/components/JunShaderBackdrop.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunShaderBackdrop.client.vue +82 -0
- package/dist/runtime/components/JunShaderBackdrop.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunShell.d.vue.ts +17 -0
- package/dist/runtime/components/JunShell.vue +80 -0
- package/dist/runtime/components/JunShell.vue.d.ts +17 -0
- package/dist/runtime/components/JunStudioBar.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunStudioBar.client.vue +462 -0
- package/dist/runtime/components/JunStudioBar.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunStudioLogin.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunStudioLogin.client.vue +58 -0
- package/dist/runtime/components/JunStudioLogin.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunThemeToggle.d.vue.ts +3 -0
- package/dist/runtime/components/JunThemeToggle.vue +32 -0
- package/dist/runtime/components/JunThemeToggle.vue.d.ts +3 -0
- package/dist/runtime/components/JunTravellersChip.d.vue.ts +9 -0
- package/dist/runtime/components/JunTravellersChip.vue +111 -0
- package/dist/runtime/components/JunTravellersChip.vue.d.ts +9 -0
- package/dist/runtime/components/JunVideoEmbed.client.d.vue.ts +23 -0
- package/dist/runtime/components/JunVideoEmbed.client.vue +124 -0
- package/dist/runtime/components/JunVideoEmbed.client.vue.d.ts +23 -0
- package/dist/runtime/components/css-modules.d.ts +7 -0
- package/dist/runtime/components/renderers/.gitkeep +0 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.vue +271 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.vue +465 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +2045 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunCvRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunCvRenderer.vue +256 -0
- package/dist/runtime/components/renderers/JunCvRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +429 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue +557 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.vue +91 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue +326 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +585 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.vue +420 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.vue +319 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.vue +206 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.vue +684 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.vue +572 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.vue +539 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunNowRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunNowRenderer.vue +382 -0
- package/dist/runtime/components/renderers/JunNowRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue +413 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.vue +133 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.vue +267 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.vue +230 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.vue +380 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.vue +254 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunWallRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunWallRenderer.vue +276 -0
- package/dist/runtime/components/renderers/JunWallRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.vue +516 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.vue.d.ts +10 -0
- package/dist/runtime/composables/useJunBackdrop.d.ts +9 -0
- package/dist/runtime/composables/useJunBackdrop.js +27 -0
- package/dist/runtime/composables/useJunBackground.d.ts +78 -0
- package/dist/runtime/composables/useJunBackground.js +65 -0
- package/dist/runtime/composables/useJunCampfire.d.ts +156 -0
- package/dist/runtime/composables/useJunCampfire.js +225 -0
- package/dist/runtime/composables/useJunChrome.d.ts +66 -0
- package/dist/runtime/composables/useJunChrome.js +233 -0
- package/dist/runtime/composables/useJunColorMode.d.ts +8 -0
- package/dist/runtime/composables/useJunColorMode.js +11 -0
- package/dist/runtime/composables/useJunCommands.d.ts +37 -0
- package/dist/runtime/composables/useJunCommands.js +225 -0
- package/dist/runtime/composables/useJunCreatePage.d.ts +17 -0
- package/dist/runtime/composables/useJunCreatePage.js +30 -0
- package/dist/runtime/composables/useJunCurrentDoc.d.ts +5 -0
- package/dist/runtime/composables/useJunCurrentDoc.js +14 -0
- package/dist/runtime/composables/useJunDocMenu.d.ts +71 -0
- package/dist/runtime/composables/useJunDocMenu.js +344 -0
- package/dist/runtime/composables/useJunDocPage.d.ts +99 -0
- package/dist/runtime/composables/useJunDocPage.js +155 -0
- package/dist/runtime/composables/useJunFollow.d.ts +11 -0
- package/dist/runtime/composables/useJunFollow.js +38 -0
- package/dist/runtime/composables/useJunGroupedDnD.d.ts +74 -0
- package/dist/runtime/composables/useJunGroupedDnD.js +186 -0
- package/dist/runtime/composables/useJunImagePopup.d.ts +37 -0
- package/dist/runtime/composables/useJunImagePopup.js +24 -0
- package/dist/runtime/composables/useJunIntro.d.ts +7 -0
- package/dist/runtime/composables/useJunIntro.js +8 -0
- package/dist/runtime/composables/useJunListDnD.d.ts +65 -0
- package/dist/runtime/composables/useJunListDnD.js +159 -0
- package/dist/runtime/composables/useJunMediaImport.d.ts +27 -0
- package/dist/runtime/composables/useJunMediaImport.js +90 -0
- package/dist/runtime/composables/useJunNavSettings.d.ts +57 -0
- package/dist/runtime/composables/useJunNavSettings.js +74 -0
- package/dist/runtime/composables/useJunNodePanel.d.ts +41 -0
- package/dist/runtime/composables/useJunNodePanel.js +36 -0
- package/dist/runtime/composables/useJunOpenDoc.d.ts +7 -0
- package/dist/runtime/composables/useJunOpenDoc.js +30 -0
- package/dist/runtime/composables/useJunOptions.d.ts +68 -0
- package/dist/runtime/composables/useJunOptions.js +68 -0
- package/dist/runtime/composables/useJunPalette.d.ts +16 -0
- package/dist/runtime/composables/useJunPalette.js +72 -0
- package/dist/runtime/composables/useJunPeopleAdmin.d.ts +69 -0
- package/dist/runtime/composables/useJunPeopleAdmin.js +73 -0
- package/dist/runtime/composables/useJunPlayer.d.ts +99 -0
- package/dist/runtime/composables/useJunPlayer.js +208 -0
- package/dist/runtime/composables/useJunPresence.d.ts +32 -0
- package/dist/runtime/composables/useJunPresence.js +53 -0
- package/dist/runtime/composables/useJunPressDrag.d.ts +20 -0
- package/dist/runtime/composables/useJunPressDrag.js +85 -0
- package/dist/runtime/composables/useJunRecent.d.ts +9 -0
- package/dist/runtime/composables/useJunRecent.js +44 -0
- package/dist/runtime/composables/useJunRename.d.ts +19 -0
- package/dist/runtime/composables/useJunRename.js +62 -0
- package/dist/runtime/composables/useJunRouteGeoHeal.d.ts +1 -0
- package/dist/runtime/composables/useJunRouteGeoHeal.js +45 -0
- package/dist/runtime/composables/useJunRouting.d.ts +29 -0
- package/dist/runtime/composables/useJunRouting.js +101 -0
- package/dist/runtime/composables/useJunSearch.d.ts +6 -0
- package/dist/runtime/composables/useJunSearch.js +16 -0
- package/dist/runtime/composables/useJunSelfId.d.ts +1 -0
- package/dist/runtime/composables/useJunSelfId.js +28 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +229 -0
- package/dist/runtime/composables/useJunSiteConfig.js +95 -0
- package/dist/runtime/composables/useJunSiteConfigValues.d.ts +33 -0
- package/dist/runtime/composables/useJunSiteConfigValues.js +21 -0
- package/dist/runtime/composables/useJunStagger.d.ts +54 -0
- package/dist/runtime/composables/useJunStagger.js +23 -0
- package/dist/runtime/composables/useJunStudio.d.ts +11 -0
- package/dist/runtime/composables/useJunStudio.js +51 -0
- package/dist/runtime/composables/useJunSurface.d.ts +19 -0
- package/dist/runtime/composables/useJunSurface.js +8 -0
- package/dist/runtime/composables/useJunTheme.d.ts +21 -0
- package/dist/runtime/composables/useJunTheme.js +138 -0
- package/dist/runtime/composables/useJunThemeTransition.d.ts +5 -0
- package/dist/runtime/composables/useJunThemeTransition.js +32 -0
- package/dist/runtime/composables/useJunUpload.d.ts +12 -0
- package/dist/runtime/composables/useJunUpload.js +44 -0
- package/dist/runtime/composables/useJunViewingAccent.d.ts +6 -0
- package/dist/runtime/composables/useJunViewingAccent.js +28 -0
- package/dist/runtime/error.d.vue.ts +7 -0
- package/dist/runtime/error.vue +74 -0
- package/dist/runtime/error.vue.d.ts +7 -0
- package/dist/runtime/layouts/jun.d.vue.ts +13 -0
- package/dist/runtime/layouts/jun.vue +162 -0
- package/dist/runtime/layouts/jun.vue.d.ts +13 -0
- package/dist/runtime/pages/doc.d.vue.ts +3 -0
- package/dist/runtime/pages/doc.vue +142 -0
- package/dist/runtime/pages/doc.vue.d.ts +3 -0
- package/dist/runtime/pages/index.d.vue.ts +3 -0
- package/dist/runtime/pages/index.vue +64 -0
- package/dist/runtime/pages/index.vue.d.ts +3 -0
- package/dist/runtime/plugins/jun-drag-affordance.client.d.ts +2 -0
- package/dist/runtime/plugins/jun-drag-affordance.client.js +9 -0
- package/dist/runtime/router.options.d.ts +3 -0
- package/dist/runtime/router.options.js +72 -0
- package/dist/runtime/server/api/nav.get.d.ts +9 -0
- package/dist/runtime/server/api/nav.get.js +16 -0
- package/dist/runtime/server/api/resolve/[...slug].get.d.ts +18 -0
- package/dist/runtime/server/api/resolve/[...slug].get.js +20 -0
- package/dist/runtime/server/api/search.get.d.ts +13 -0
- package/dist/runtime/server/api/search.get.js +72 -0
- package/dist/runtime/server/api/service.get.d.ts +12 -0
- package/dist/runtime/server/api/service.get.js +39 -0
- package/dist/runtime/server/api/site-config.get.d.ts +2 -0
- package/dist/runtime/server/api/site-config.get.js +3 -0
- package/dist/runtime/server/api/stats.get.d.ts +12 -0
- package/dist/runtime/server/api/stats.get.js +56 -0
- package/dist/runtime/server/janitor/junJanitorActor.d.ts +179 -0
- package/dist/runtime/server/janitor/junJanitorActor.js +305 -0
- package/dist/runtime/server/janitor/junJanitorChores.d.ts +137 -0
- package/dist/runtime/server/janitor/junJanitorChores.js +189 -0
- package/dist/runtime/server/janitor/junJanitorDiff.d.ts +41 -0
- package/dist/runtime/server/janitor/junJanitorDiff.js +109 -0
- package/dist/runtime/server/janitor/junJanitorListen.d.ts +33 -0
- package/dist/runtime/server/janitor/junJanitorListen.js +43 -0
- package/dist/runtime/server/janitor/junJanitorMachine.d.ts +60 -0
- package/dist/runtime/server/janitor/junJanitorMachine.js +598 -0
- package/dist/runtime/server/janitor/junJanitorMotor.d.ts +211 -0
- package/dist/runtime/server/janitor/junJanitorMotor.js +241 -0
- package/dist/runtime/server/janitor/junJanitorPatrol.d.ts +68 -0
- package/dist/runtime/server/janitor/junJanitorPatrol.js +34 -0
- package/dist/runtime/server/janitor/junJanitorPerform.d.ts +70 -0
- package/dist/runtime/server/janitor/junJanitorPerform.js +72 -0
- package/dist/runtime/server/janitor/junJanitorRandom.d.ts +54 -0
- package/dist/runtime/server/janitor/junJanitorRandom.js +48 -0
- package/dist/runtime/server/janitor/junJanitorStore.d.ts +159 -0
- package/dist/runtime/server/janitor/junJanitorStore.js +269 -0
- package/dist/runtime/server/janitor/junJanitorVoice.d.ts +86 -0
- package/dist/runtime/server/janitor/junJanitorVoice.js +193 -0
- package/dist/runtime/server/janitor/junJanitorYText.d.ts +164 -0
- package/dist/runtime/server/janitor/junJanitorYText.js +258 -0
- package/dist/runtime/server/plugins/jun-bootstrap.d.ts +25 -0
- package/dist/runtime/server/plugins/jun-bootstrap.js +652 -0
- package/dist/runtime/server/plugins/jun-doc-cache.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-doc-cache.js +142 -0
- package/dist/runtime/server/plugins/jun-janitor.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-janitor.js +176 -0
- package/dist/runtime/server/plugins/jun-rpc.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-rpc.js +455 -0
- package/dist/runtime/server/routes/feed.json.get.d.ts +21 -0
- package/dist/runtime/server/routes/feed.json.get.js +25 -0
- package/dist/runtime/server/routes/feed.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/feed.xml.get.js +34 -0
- package/dist/runtime/server/routes/sitemap.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/sitemap.xml.get.js +27 -0
- package/dist/runtime/server/utils/junCache.d.ts +41 -0
- package/dist/runtime/server/utils/junCache.js +32 -0
- package/dist/runtime/server/utils/junFeed.d.ts +20 -0
- package/dist/runtime/server/utils/junFeed.js +71 -0
- package/dist/runtime/server/utils/junServiceFetch.d.ts +46 -0
- package/dist/runtime/server/utils/junServiceFetch.js +320 -0
- package/dist/runtime/server/utils/junVisibility.d.ts +31 -0
- package/dist/runtime/server/utils/junVisibility.js +6 -0
- package/dist/runtime/types.d.ts +853 -0
- package/dist/runtime/types.js +1 -0
- package/dist/runtime/utils/junDate.d.ts +38 -0
- package/dist/runtime/utils/junDate.js +30 -0
- package/dist/runtime/utils/junDndGeometry.d.ts +62 -0
- package/dist/runtime/utils/junDndGeometry.js +56 -0
- package/dist/runtime/utils/junDocTypeIcons.d.ts +30 -0
- package/dist/runtime/utils/junDocTypeIcons.js +30 -0
- package/dist/runtime/utils/junEditorBodyText.d.ts +32 -0
- package/dist/runtime/utils/junEditorBodyText.js +10 -0
- package/dist/runtime/utils/junMapboxToken.d.ts +1 -0
- package/dist/runtime/utils/junMapboxToken.js +5 -0
- package/dist/runtime/utils/junMatch.d.ts +45 -0
- package/dist/runtime/utils/junMatch.js +37 -0
- package/dist/runtime/utils/junMetaSchemas.d.ts +23 -0
- package/dist/runtime/utils/junMetaSchemas.js +94 -0
- package/dist/runtime/utils/junMotion.d.ts +71 -0
- package/dist/runtime/utils/junMotion.js +3 -0
- package/dist/runtime/utils/junServiceRef.d.ts +21 -0
- package/dist/runtime/utils/junServiceRef.js +94 -0
- package/dist/runtime/utils/junSimplifyPath.d.ts +23 -0
- package/dist/runtime/utils/junSimplifyPath.js +57 -0
- package/dist/runtime/utils/junTransportModes.d.ts +49 -0
- package/dist/runtime/utils/junTransportModes.js +37 -0
- package/dist/runtime/utils/junVideoSource.d.ts +51 -0
- package/dist/runtime/utils/junVideoSource.js +110 -0
- package/dist/runtime/utils/junVisibility.d.ts +14 -0
- package/dist/runtime/utils/junVisibility.js +6 -0
- package/dist/types.d.mts +5 -0
- package/package.json +111 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, onMounted, onUnmounted, ref, watch } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
junMotion,
|
|
5
|
+
junStagger,
|
|
6
|
+
useAbracadabra,
|
|
7
|
+
useChildTree,
|
|
8
|
+
useDocSlugs,
|
|
9
|
+
useDocTree,
|
|
10
|
+
useJunRename,
|
|
11
|
+
useJunSelfId,
|
|
12
|
+
useJunSiteConfig,
|
|
13
|
+
useJunStudio,
|
|
14
|
+
useToast,
|
|
15
|
+
useTrash
|
|
16
|
+
} from "#imports";
|
|
17
|
+
const props = defineProps({
|
|
18
|
+
docId: { type: String, required: true },
|
|
19
|
+
docLabel: { type: String, required: false },
|
|
20
|
+
docMeta: { type: Object, required: false },
|
|
21
|
+
childProvider: { type: null, required: false },
|
|
22
|
+
editable: { type: Boolean, required: false }
|
|
23
|
+
});
|
|
24
|
+
const abra = useAbracadabra();
|
|
25
|
+
const tree = useChildTree(abra.doc, props.docId);
|
|
26
|
+
const { getDocUrl } = useDocSlugs();
|
|
27
|
+
const { getEntry } = useDocTree();
|
|
28
|
+
const { editing } = useJunStudio();
|
|
29
|
+
const { renameDoc } = useJunRename();
|
|
30
|
+
const { config } = useJunSiteConfig();
|
|
31
|
+
const toast = useToast();
|
|
32
|
+
const { restoreFromTrash } = useTrash();
|
|
33
|
+
const pageTitle = computed(() => getEntry(props.docId)?.label ?? props.docLabel ?? "Guestbook");
|
|
34
|
+
const subtitle = computed(() => {
|
|
35
|
+
const meta = getEntry(props.docId)?.meta;
|
|
36
|
+
const ex = meta?.excerpt ?? props.docMeta?.excerpt;
|
|
37
|
+
return typeof ex === "string" && ex.trim() ? ex : void 0;
|
|
38
|
+
});
|
|
39
|
+
function renamePage(t) {
|
|
40
|
+
renameDoc(props.docId, t);
|
|
41
|
+
}
|
|
42
|
+
function renameSubtitle(s) {
|
|
43
|
+
tree.updateMeta(props.docId, { excerpt: s || void 0 });
|
|
44
|
+
}
|
|
45
|
+
const children = computed(() => tree.childrenOf(null) ?? []);
|
|
46
|
+
const signatures = computed(
|
|
47
|
+
() => children.value.filter((e) => typeof e.meta?.message === "string" && e.meta.message.trim()).sort((a, b) => (b.meta?.date ?? 0) - (a.meta?.date ?? 0))
|
|
48
|
+
);
|
|
49
|
+
const foreign = computed(
|
|
50
|
+
() => children.value.filter((e) => !(typeof e.meta?.message === "string" && e.meta.message.trim()))
|
|
51
|
+
);
|
|
52
|
+
const b64u = (s) => s.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
53
|
+
const selfId = useJunSelfId();
|
|
54
|
+
const myId = computed(() => b64u(selfId.value));
|
|
55
|
+
const isMine = (e) => !!myId.value && b64u(e.meta?.signerId ?? "") === myId.value;
|
|
56
|
+
const myCount = computed(() => signatures.value.filter(isMine).length);
|
|
57
|
+
function hueOf(id) {
|
|
58
|
+
let h = 5381;
|
|
59
|
+
for (let i = 0; i < id.length; i++) h = (h * 33 ^ id.charCodeAt(i)) >>> 0;
|
|
60
|
+
return h % 360;
|
|
61
|
+
}
|
|
62
|
+
const tintStyle = (e) => {
|
|
63
|
+
const hue = hueOf(e.meta?.signerId ?? e.id);
|
|
64
|
+
return {
|
|
65
|
+
"--jun-tint": `oklch(62% 0.09 ${hue}deg)`,
|
|
66
|
+
"--jun-tint-soft": `oklch(62% 0.09 ${hue}deg / 0.14)`
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
const now = ref(Date.now());
|
|
70
|
+
let tick = null;
|
|
71
|
+
onMounted(() => {
|
|
72
|
+
tick = setInterval(() => {
|
|
73
|
+
now.value = Date.now();
|
|
74
|
+
}, 6e4);
|
|
75
|
+
});
|
|
76
|
+
onUnmounted(() => {
|
|
77
|
+
if (tick) clearInterval(tick);
|
|
78
|
+
});
|
|
79
|
+
const rtf = new Intl.RelativeTimeFormat(void 0, { numeric: "auto" });
|
|
80
|
+
function relDate(ts) {
|
|
81
|
+
if (!ts) return "";
|
|
82
|
+
const min = Math.floor(Math.max(0, now.value - ts) / 6e4);
|
|
83
|
+
if (min < 1) return "just now";
|
|
84
|
+
if (min < 60) return rtf.format(-min, "minute");
|
|
85
|
+
const h = Math.floor(min / 60);
|
|
86
|
+
if (h < 24) return rtf.format(-h, "hour");
|
|
87
|
+
return rtf.format(-Math.floor(h / 24), "day");
|
|
88
|
+
}
|
|
89
|
+
const guestbookOpen = computed(() => config.value.guestbookEnabled !== false);
|
|
90
|
+
const handle = ref("");
|
|
91
|
+
const message = ref("");
|
|
92
|
+
const busy = ref(false);
|
|
93
|
+
onMounted(() => {
|
|
94
|
+
handle.value = abra.userName.value || "";
|
|
95
|
+
});
|
|
96
|
+
watch(() => abra.userName.value, (n) => {
|
|
97
|
+
if (!handle.value && n) handle.value = n;
|
|
98
|
+
});
|
|
99
|
+
async function sign() {
|
|
100
|
+
const provider = abra.provider.value;
|
|
101
|
+
const text = message.value.trim();
|
|
102
|
+
if (!provider || !text || busy.value) return;
|
|
103
|
+
busy.value = true;
|
|
104
|
+
try {
|
|
105
|
+
await provider.rpc.call("jun.guestbook.sign@1", {
|
|
106
|
+
docId: props.docId,
|
|
107
|
+
message: text,
|
|
108
|
+
handle: handle.value.trim() || abra.userName.value || "Traveller"
|
|
109
|
+
});
|
|
110
|
+
message.value = "";
|
|
111
|
+
toast.add({ title: "Signed \u2014 thank you!", icon: "i-lucide-pen-line", duration: 4e3 });
|
|
112
|
+
} catch (err) {
|
|
113
|
+
const e = err;
|
|
114
|
+
toast.add({
|
|
115
|
+
title: e?.message || "Could not sign right now \u2014 try again in a moment.",
|
|
116
|
+
icon: "i-lucide-circle-alert",
|
|
117
|
+
color: "neutral",
|
|
118
|
+
duration: 6e3
|
|
119
|
+
});
|
|
120
|
+
} finally {
|
|
121
|
+
busy.value = false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
function deleteSignature(entry) {
|
|
125
|
+
tree.deleteEntry(entry.id);
|
|
126
|
+
toast.add({
|
|
127
|
+
title: `Moved \u201C${entry.label}\u201D to trash`,
|
|
128
|
+
icon: "i-lucide-trash-2",
|
|
129
|
+
duration: 6e3,
|
|
130
|
+
actions: [
|
|
131
|
+
{
|
|
132
|
+
label: "Undo",
|
|
133
|
+
color: "neutral",
|
|
134
|
+
variant: "outline",
|
|
135
|
+
onClick: () => restoreFromTrash(entry.id)
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
</script>
|
|
141
|
+
|
|
142
|
+
<template>
|
|
143
|
+
<div class="relative mx-auto w-full max-w-3xl px-4 pt-12 pb-16 sm:px-8">
|
|
144
|
+
<JunPageHero
|
|
145
|
+
:title="pageTitle"
|
|
146
|
+
:subtitle="subtitle"
|
|
147
|
+
:editable="editing"
|
|
148
|
+
@rename="renamePage"
|
|
149
|
+
@rename-subtitle="renameSubtitle"
|
|
150
|
+
/>
|
|
151
|
+
|
|
152
|
+
<!-- Client-only: signing needs the live provider for the RPC call. -->
|
|
153
|
+
<ClientOnly>
|
|
154
|
+
<div
|
|
155
|
+
v-if="guestbookOpen && myCount < 3"
|
|
156
|
+
class="jun-card mb-10 rounded-2xl p-4 sm:p-5"
|
|
157
|
+
>
|
|
158
|
+
<div class="mb-3 flex items-center gap-2">
|
|
159
|
+
<UIcon
|
|
160
|
+
name="i-lucide-pen-line"
|
|
161
|
+
class="size-4 opacity-60"
|
|
162
|
+
aria-hidden="true"
|
|
163
|
+
/>
|
|
164
|
+
<UInput
|
|
165
|
+
v-model="handle"
|
|
166
|
+
size="sm"
|
|
167
|
+
variant="soft"
|
|
168
|
+
color="neutral"
|
|
169
|
+
placeholder="Your name"
|
|
170
|
+
:maxlength="40"
|
|
171
|
+
class="w-44"
|
|
172
|
+
aria-label="Your name"
|
|
173
|
+
/>
|
|
174
|
+
</div>
|
|
175
|
+
<UTextarea
|
|
176
|
+
v-model="message"
|
|
177
|
+
:rows="3"
|
|
178
|
+
autoresize
|
|
179
|
+
:maxrows="8"
|
|
180
|
+
:maxlength="280"
|
|
181
|
+
variant="soft"
|
|
182
|
+
color="neutral"
|
|
183
|
+
class="w-full"
|
|
184
|
+
placeholder="Leave a note…"
|
|
185
|
+
aria-label="Your message"
|
|
186
|
+
@keydown.meta.enter="sign"
|
|
187
|
+
@keydown.ctrl.enter="sign"
|
|
188
|
+
/>
|
|
189
|
+
<div class="mt-3 flex items-center justify-between gap-3">
|
|
190
|
+
<span class="text-[11px] text-dimmed tabular-nums">{{ message.length }}/280</span>
|
|
191
|
+
<UButton
|
|
192
|
+
size="sm"
|
|
193
|
+
color="neutral"
|
|
194
|
+
:loading="busy"
|
|
195
|
+
:disabled="!message.trim()"
|
|
196
|
+
icon="i-lucide-pen-line"
|
|
197
|
+
label="Sign"
|
|
198
|
+
@click="sign"
|
|
199
|
+
/>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<p
|
|
203
|
+
v-else-if="guestbookOpen && myCount >= 3"
|
|
204
|
+
class="mb-10 text-center text-sm text-muted"
|
|
205
|
+
>
|
|
206
|
+
You've signed {{ myCount }} times — thank you!
|
|
207
|
+
</p>
|
|
208
|
+
<p
|
|
209
|
+
v-else-if="!guestbookOpen"
|
|
210
|
+
class="mb-10 text-center text-sm text-muted"
|
|
211
|
+
>
|
|
212
|
+
The guestbook is closed right now.
|
|
213
|
+
</p>
|
|
214
|
+
</ClientOnly>
|
|
215
|
+
|
|
216
|
+
<div
|
|
217
|
+
v-if="!signatures.length"
|
|
218
|
+
class="py-16 text-center"
|
|
219
|
+
>
|
|
220
|
+
<UIcon
|
|
221
|
+
name="i-lucide-pen-line"
|
|
222
|
+
class="mb-3 size-10 text-dimmed"
|
|
223
|
+
/>
|
|
224
|
+
<p class="text-sm text-muted">
|
|
225
|
+
No signatures yet — be the first.
|
|
226
|
+
</p>
|
|
227
|
+
</div>
|
|
228
|
+
|
|
229
|
+
<TransitionGroup
|
|
230
|
+
v-else
|
|
231
|
+
tag="ul"
|
|
232
|
+
name="jun-guest"
|
|
233
|
+
class="flex flex-col gap-4"
|
|
234
|
+
>
|
|
235
|
+
<li
|
|
236
|
+
v-for="(entry, i) in signatures"
|
|
237
|
+
:key="entry.id"
|
|
238
|
+
v-motion="junMotion(junStagger(i, { delayMs: 50 }))"
|
|
239
|
+
>
|
|
240
|
+
<JunItemMenu
|
|
241
|
+
:entry="entry"
|
|
242
|
+
:tree="tree"
|
|
243
|
+
>
|
|
244
|
+
<div
|
|
245
|
+
class="group/sig jun-card relative rounded-2xl p-4 sm:p-5"
|
|
246
|
+
:class="isMine(entry) ? 'ring-1 ring-inset ring-black/15 dark:ring-white/20' : ''"
|
|
247
|
+
:style="tintStyle(entry)"
|
|
248
|
+
>
|
|
249
|
+
<span
|
|
250
|
+
class="absolute top-4 bottom-4 left-0 w-[3px] rounded-full"
|
|
251
|
+
:style="{ background: 'var(--jun-tint)' }"
|
|
252
|
+
aria-hidden="true"
|
|
253
|
+
/>
|
|
254
|
+
<div class="mb-2 flex items-center gap-2.5">
|
|
255
|
+
<span
|
|
256
|
+
class="flex size-7 flex-none items-center justify-center rounded-full text-[11px] font-medium uppercase"
|
|
257
|
+
:style="{ background: 'var(--jun-tint-soft)', color: 'var(--jun-tint)' }"
|
|
258
|
+
aria-hidden="true"
|
|
259
|
+
>
|
|
260
|
+
{{ (entry.meta?.signerHandle || entry.label || "?").slice(0, 1) }}
|
|
261
|
+
</span>
|
|
262
|
+
<span class="truncate text-sm font-medium">
|
|
263
|
+
{{ entry.meta?.signerHandle || entry.label }}
|
|
264
|
+
</span>
|
|
265
|
+
<span
|
|
266
|
+
v-if="isMine(entry)"
|
|
267
|
+
class="text-[10px] tracking-wider text-dimmed uppercase"
|
|
268
|
+
>you</span>
|
|
269
|
+
<span
|
|
270
|
+
class="ml-auto flex-none text-[11px] text-dimmed"
|
|
271
|
+
:title="entry.meta?.date ? new Date(entry.meta.date).toLocaleString() : void 0"
|
|
272
|
+
>
|
|
273
|
+
{{ relDate(entry.meta?.date) }}
|
|
274
|
+
</span>
|
|
275
|
+
</div>
|
|
276
|
+
<p class="text-sm leading-relaxed whitespace-pre-line text-toned">
|
|
277
|
+
{{ entry.meta?.message }}
|
|
278
|
+
</p>
|
|
279
|
+
|
|
280
|
+
<UButton
|
|
281
|
+
v-if="editing"
|
|
282
|
+
icon="i-lucide-trash-2"
|
|
283
|
+
color="neutral"
|
|
284
|
+
variant="ghost"
|
|
285
|
+
size="xs"
|
|
286
|
+
class="absolute top-3 right-3 opacity-0 transition-opacity group-hover/sig:opacity-100"
|
|
287
|
+
aria-label="Delete signature"
|
|
288
|
+
@click.stop.prevent="deleteSignature(entry)"
|
|
289
|
+
/>
|
|
290
|
+
</div>
|
|
291
|
+
</JunItemMenu>
|
|
292
|
+
</li>
|
|
293
|
+
</TransitionGroup>
|
|
294
|
+
|
|
295
|
+
<div
|
|
296
|
+
v-if="editing && foreign.length"
|
|
297
|
+
class="mt-10"
|
|
298
|
+
>
|
|
299
|
+
<p class="mb-2 text-[11px] tracking-wider text-dimmed uppercase">
|
|
300
|
+
Other documents on this page
|
|
301
|
+
</p>
|
|
302
|
+
<ul class="flex flex-col gap-1.5 opacity-70">
|
|
303
|
+
<li
|
|
304
|
+
v-for="entry in foreign"
|
|
305
|
+
:key="entry.id"
|
|
306
|
+
>
|
|
307
|
+
<JunItemMenu
|
|
308
|
+
:entry="entry"
|
|
309
|
+
:tree="tree"
|
|
310
|
+
>
|
|
311
|
+
<NuxtLink
|
|
312
|
+
:to="getDocUrl(entry.id)"
|
|
313
|
+
class="text-sm underline-offset-4 hover:underline"
|
|
314
|
+
>
|
|
315
|
+
{{ entry.label || "Untitled" }}
|
|
316
|
+
</NuxtLink>
|
|
317
|
+
</JunItemMenu>
|
|
318
|
+
</li>
|
|
319
|
+
</ul>
|
|
320
|
+
</div>
|
|
321
|
+
</div>
|
|
322
|
+
</template>
|
|
323
|
+
|
|
324
|
+
<style scoped>
|
|
325
|
+
.jun-guest-enter-active{transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}.jun-guest-leave-active{transition:opacity .25s ease}.jun-guest-enter-from{opacity:0;transform:translateY(10px)}.jun-guest-leave-to{opacity:0}.jun-guest-move{transition:transform .32s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-guest-enter-active,.jun-guest-leave-active,.jun-guest-move{transition:none}}
|
|
326
|
+
</style>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
docId: string;
|
|
3
|
+
docLabel?: string;
|
|
4
|
+
docMeta?: Record<string, unknown>;
|
|
5
|
+
childProvider?: unknown;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
docId: string;
|
|
3
|
+
docLabel?: string;
|
|
4
|
+
docMeta?: Record<string, unknown>;
|
|
5
|
+
childProvider?: unknown;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|