@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,516 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
junMotion,
|
|
5
|
+
useAbracadabra,
|
|
6
|
+
useChildTree,
|
|
7
|
+
useDocTree,
|
|
8
|
+
useJunRename,
|
|
9
|
+
useJunStudio,
|
|
10
|
+
useJunTravellers
|
|
11
|
+
} from "#imports";
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
docId: { type: String, required: true },
|
|
14
|
+
docLabel: { type: String, required: false },
|
|
15
|
+
docMeta: { type: Object, required: false },
|
|
16
|
+
childProvider: { type: null, required: false },
|
|
17
|
+
editable: { type: Boolean, required: false }
|
|
18
|
+
});
|
|
19
|
+
const abra = useAbracadabra();
|
|
20
|
+
const tree = useChildTree(abra.doc, props.docId);
|
|
21
|
+
const { getEntry } = useDocTree();
|
|
22
|
+
const { editing } = useJunStudio();
|
|
23
|
+
const { renameDoc } = useJunRename();
|
|
24
|
+
const { travellers } = useJunTravellers();
|
|
25
|
+
const entry = computed(() => getEntry(props.docId));
|
|
26
|
+
const meta = computed(
|
|
27
|
+
() => entry.value?.meta ?? props.docMeta ?? {}
|
|
28
|
+
);
|
|
29
|
+
const title = computed(() => entry.value?.label ?? props.docLabel ?? "Window");
|
|
30
|
+
const subtitle = computed(() => {
|
|
31
|
+
const ex = meta.value.excerpt;
|
|
32
|
+
return typeof ex === "string" && ex.trim() ? ex : void 0;
|
|
33
|
+
});
|
|
34
|
+
function renamePage(t) {
|
|
35
|
+
renameDoc(props.docId, t);
|
|
36
|
+
}
|
|
37
|
+
function renameSubtitle(s) {
|
|
38
|
+
tree.updateMeta(props.docId, { excerpt: s || void 0 });
|
|
39
|
+
}
|
|
40
|
+
const windowUrl = computed(() => {
|
|
41
|
+
const u = meta.value.windowUrl;
|
|
42
|
+
return typeof u === "string" && u.trim() ? u : "example.com/console";
|
|
43
|
+
});
|
|
44
|
+
const here = computed(() => travellers.value.length);
|
|
45
|
+
const k = (name) => `win:${props.docId}:${name}`;
|
|
46
|
+
const tab = ref("overview");
|
|
47
|
+
const project = ref("Documents");
|
|
48
|
+
const search = ref("");
|
|
49
|
+
const notes = ref("Every control on this page is a real awareness surface.");
|
|
50
|
+
const budget = ref([62]);
|
|
51
|
+
const density = ref(3);
|
|
52
|
+
const live = ref(true);
|
|
53
|
+
const notify = ref(false);
|
|
54
|
+
const channels = ref(["web"]);
|
|
55
|
+
const visibility = ref("team");
|
|
56
|
+
const tags = ref(["crdt", "presence"]);
|
|
57
|
+
const accent = ref("#71717a");
|
|
58
|
+
const page = ref(1);
|
|
59
|
+
const step = ref(1);
|
|
60
|
+
const openSection = ref(["activity"]);
|
|
61
|
+
const tabItems = [
|
|
62
|
+
{ label: "Overview", value: "overview", icon: "i-lucide-layout-dashboard" },
|
|
63
|
+
{ label: "Data", value: "data", icon: "i-lucide-table-2" },
|
|
64
|
+
{ label: "Settings", value: "settings", icon: "i-lucide-sliders-horizontal" }
|
|
65
|
+
];
|
|
66
|
+
const projectItems = ["Documents", "Media", "People", "Archive"];
|
|
67
|
+
const visibilityItems = [
|
|
68
|
+
{ label: "Private", value: "private" },
|
|
69
|
+
{ label: "Team", value: "team" },
|
|
70
|
+
{ label: "Public", value: "public" }
|
|
71
|
+
];
|
|
72
|
+
const channelItems = [
|
|
73
|
+
{ label: "Web", value: "web" },
|
|
74
|
+
{ label: "Native", value: "native" },
|
|
75
|
+
{ label: "Email", value: "email" }
|
|
76
|
+
];
|
|
77
|
+
const stepperItems = [
|
|
78
|
+
{ title: "Draft", icon: "i-lucide-pencil-line" },
|
|
79
|
+
{ title: "Review", icon: "i-lucide-eye" },
|
|
80
|
+
{ title: "Shipped", icon: "i-lucide-rocket" }
|
|
81
|
+
];
|
|
82
|
+
const rows = [
|
|
83
|
+
{ doc: "Writing", type: "Feed", edits: 128, status: "Live" },
|
|
84
|
+
{ doc: "Live", type: "Feed", edits: 341, status: "Live" },
|
|
85
|
+
{ doc: "Wall", type: "Media", edits: 57, status: "Live" },
|
|
86
|
+
{ doc: "Guestbook", type: "Visitors", edits: 12, status: "Open" },
|
|
87
|
+
{ doc: "Pulse", type: "Stats", edits: 4, status: "Live" }
|
|
88
|
+
];
|
|
89
|
+
const columns = [
|
|
90
|
+
{ accessorKey: "doc", header: "Document" },
|
|
91
|
+
{ accessorKey: "type", header: "Kind" },
|
|
92
|
+
{ accessorKey: "edits", header: "Edits" },
|
|
93
|
+
{ accessorKey: "status", header: "State" }
|
|
94
|
+
];
|
|
95
|
+
</script>
|
|
96
|
+
|
|
97
|
+
<template>
|
|
98
|
+
<div class="w-full max-w-6xl mx-auto px-4 sm:px-6 pt-12 pb-20">
|
|
99
|
+
<JunPageHero
|
|
100
|
+
:title="title"
|
|
101
|
+
:subtitle="subtitle"
|
|
102
|
+
:editable="editing"
|
|
103
|
+
@rename="renamePage"
|
|
104
|
+
@rename-subtitle="renameSubtitle"
|
|
105
|
+
>
|
|
106
|
+
<template #right>
|
|
107
|
+
<span
|
|
108
|
+
class="jun-chrome inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs
|
|
109
|
+
text-black/60 dark:text-white/60"
|
|
110
|
+
>
|
|
111
|
+
<span class="size-1.5 rounded-full bg-emerald-500 animate-pulse" />
|
|
112
|
+
{{ here === 0 ? "Just you here" : here === 1 ? "1 other here" : `${here} others here` }}
|
|
113
|
+
</span>
|
|
114
|
+
</template>
|
|
115
|
+
</JunPageHero>
|
|
116
|
+
|
|
117
|
+
<!-- ── The window ──────────────────────────────────────────────────── -->
|
|
118
|
+
<div
|
|
119
|
+
v-motion="junMotion({ initial: { opacity: 0, y: 24 }, enter: { opacity: 1, y: 0, transition: { duration: 600 } } })"
|
|
120
|
+
class="rounded-2xl overflow-hidden
|
|
121
|
+
bg-linear-to-b from-white/80 to-zinc-50/90
|
|
122
|
+
dark:from-zinc-800/80 dark:to-zinc-900/90
|
|
123
|
+
ring-1 ring-inset ring-black/[0.07] dark:ring-white/10
|
|
124
|
+
shadow-[0_24px_60px_-20px_rgb(0_0_0/0.28)]
|
|
125
|
+
dark:shadow-[0_24px_60px_-20px_rgb(0_0_0/0.6)]"
|
|
126
|
+
>
|
|
127
|
+
<!-- Address bar -->
|
|
128
|
+
<div class="px-3 py-2.5">
|
|
129
|
+
<div
|
|
130
|
+
class="mx-auto flex w-full max-w-xl items-center justify-center gap-1.5 rounded-md
|
|
131
|
+
bg-black/[0.04] dark:bg-white/[0.06] px-4 py-1
|
|
132
|
+
text-[11px] font-medium leading-6 text-black/40 dark:text-white/40
|
|
133
|
+
ring-1 ring-inset ring-black/5 dark:ring-white/10"
|
|
134
|
+
>
|
|
135
|
+
<UIcon
|
|
136
|
+
name="i-lucide-lock"
|
|
137
|
+
class="size-3"
|
|
138
|
+
/>
|
|
139
|
+
{{ windowUrl }}
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<!-- Tab row — three columns, the middle one active (AppIntro's shape) -->
|
|
144
|
+
<div class="grid grid-cols-3 text-[11px] leading-5">
|
|
145
|
+
<span
|
|
146
|
+
class="-mb-px -ml-px flex select-none items-center justify-center gap-2 truncate
|
|
147
|
+
rounded-tr-md border border-black/5 dark:border-white/10
|
|
148
|
+
bg-black/[0.03] dark:bg-white/[0.04] px-4 py-1.5
|
|
149
|
+
text-black/35 dark:text-white/35"
|
|
150
|
+
>Presence</span>
|
|
151
|
+
<span
|
|
152
|
+
class="flex select-none items-center justify-center gap-2 truncate px-4 py-1.5
|
|
153
|
+
font-medium text-highlighted"
|
|
154
|
+
>Console</span>
|
|
155
|
+
<span
|
|
156
|
+
class="-mb-px -mr-px flex select-none items-center justify-center gap-2 truncate
|
|
157
|
+
rounded-tl-md border border-black/5 dark:border-white/10
|
|
158
|
+
bg-black/[0.03] dark:bg-white/[0.04] px-4 py-1.5
|
|
159
|
+
text-black/35 dark:text-white/35"
|
|
160
|
+
>Documents</span>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<!-- ── App body ─────────────────────────────────────────────────── -->
|
|
164
|
+
<div class="border-t border-black/5 dark:border-white/10 bg-white/50 dark:bg-zinc-900/50">
|
|
165
|
+
<!-- Title bar: project switcher, search, who's here -->
|
|
166
|
+
<div
|
|
167
|
+
class="flex flex-wrap items-center gap-2 px-4 py-3
|
|
168
|
+
border-b border-black/5 dark:border-white/10"
|
|
169
|
+
>
|
|
170
|
+
<ASelectMenu
|
|
171
|
+
v-model="project"
|
|
172
|
+
:field-key="k('project')"
|
|
173
|
+
:items="projectItems"
|
|
174
|
+
size="xs"
|
|
175
|
+
variant="soft"
|
|
176
|
+
color="neutral"
|
|
177
|
+
class="w-40"
|
|
178
|
+
/>
|
|
179
|
+
<AInput
|
|
180
|
+
v-model="search"
|
|
181
|
+
:field-key="k('search')"
|
|
182
|
+
peers
|
|
183
|
+
size="xs"
|
|
184
|
+
variant="soft"
|
|
185
|
+
color="neutral"
|
|
186
|
+
icon="i-lucide-search"
|
|
187
|
+
placeholder="Search documents…"
|
|
188
|
+
class="w-full sm:w-56"
|
|
189
|
+
/>
|
|
190
|
+
<div class="ml-auto flex items-center gap-2">
|
|
191
|
+
<AToggleGroup
|
|
192
|
+
v-model="visibility"
|
|
193
|
+
:field-key="k('visibility')"
|
|
194
|
+
:items="visibilityItems"
|
|
195
|
+
size="xs"
|
|
196
|
+
color="neutral"
|
|
197
|
+
variant="soft"
|
|
198
|
+
/>
|
|
199
|
+
<AFacepile
|
|
200
|
+
:field-key="k('facepile')"
|
|
201
|
+
:max="4"
|
|
202
|
+
/>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
|
|
206
|
+
<div class="grid gap-0 lg:grid-cols-[190px_1fr]">
|
|
207
|
+
<!-- Sidebar -->
|
|
208
|
+
<aside
|
|
209
|
+
class="border-b lg:border-b-0 lg:border-r border-black/5 dark:border-white/10 p-3"
|
|
210
|
+
>
|
|
211
|
+
<ANavigationMenu
|
|
212
|
+
:field-key="k('nav')"
|
|
213
|
+
orientation="vertical"
|
|
214
|
+
:items="[
|
|
215
|
+
{ label: 'Overview', icon: 'i-lucide-layout-dashboard', active: true },
|
|
216
|
+
{ label: 'Documents', icon: 'i-lucide-files' },
|
|
217
|
+
{ label: 'Presence', icon: 'i-lucide-users-round' },
|
|
218
|
+
{ label: 'Storage', icon: 'i-lucide-database' }
|
|
219
|
+
]"
|
|
220
|
+
class="w-full"
|
|
221
|
+
/>
|
|
222
|
+
|
|
223
|
+
<div class="mt-4 space-y-2">
|
|
224
|
+
<p class="px-1 text-[10px] uppercase tracking-[0.18em] text-dimmed">
|
|
225
|
+
Channels
|
|
226
|
+
</p>
|
|
227
|
+
<ACheckboxGroup
|
|
228
|
+
v-model="channels"
|
|
229
|
+
:field-key="k('channels')"
|
|
230
|
+
:items="channelItems"
|
|
231
|
+
size="xs"
|
|
232
|
+
color="neutral"
|
|
233
|
+
/>
|
|
234
|
+
</div>
|
|
235
|
+
</aside>
|
|
236
|
+
|
|
237
|
+
<!-- Main pane -->
|
|
238
|
+
<section class="min-w-0 p-4">
|
|
239
|
+
<ATabs
|
|
240
|
+
v-model="tab"
|
|
241
|
+
:field-key="k('tab')"
|
|
242
|
+
:items="tabItems"
|
|
243
|
+
size="xs"
|
|
244
|
+
color="neutral"
|
|
245
|
+
variant="link"
|
|
246
|
+
class="w-full"
|
|
247
|
+
>
|
|
248
|
+
<template #content="{ item }">
|
|
249
|
+
<!-- Overview -->
|
|
250
|
+
<div
|
|
251
|
+
v-if="item.value === 'overview'"
|
|
252
|
+
class="pt-4 space-y-5"
|
|
253
|
+
>
|
|
254
|
+
<div class="grid gap-3 sm:grid-cols-3">
|
|
255
|
+
<div
|
|
256
|
+
v-for="s in [
|
|
257
|
+
{ label: 'Documents', value: '86', icon: 'i-lucide-files' },
|
|
258
|
+
{ label: 'Edits today', value: '19', icon: 'i-lucide-pencil-line' },
|
|
259
|
+
{ label: 'Travellers', value: String(here), icon: 'i-lucide-users-round' }
|
|
260
|
+
]"
|
|
261
|
+
:key="s.label"
|
|
262
|
+
class="rounded-xl bg-black/[0.03] dark:bg-white/[0.04] p-3
|
|
263
|
+
ring-1 ring-inset ring-black/5 dark:ring-white/10"
|
|
264
|
+
>
|
|
265
|
+
<div class="flex items-center gap-1.5 text-dimmed">
|
|
266
|
+
<UIcon
|
|
267
|
+
:name="s.icon"
|
|
268
|
+
class="size-3.5"
|
|
269
|
+
/>
|
|
270
|
+
<span class="text-[10px] uppercase tracking-[0.16em]">{{ s.label }}</span>
|
|
271
|
+
</div>
|
|
272
|
+
<p class="mt-1 text-2xl font-semibold tabular-nums text-highlighted">
|
|
273
|
+
{{ s.value }}
|
|
274
|
+
</p>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
<div class="space-y-2">
|
|
279
|
+
<div class="flex items-baseline justify-between">
|
|
280
|
+
<label class="text-xs font-medium text-muted">Sync budget</label>
|
|
281
|
+
<span class="text-xs tabular-nums text-dimmed">{{ budget[0] }}%</span>
|
|
282
|
+
</div>
|
|
283
|
+
<!-- `peers` renders every other visitor's thumb on the same
|
|
284
|
+
track — the clearest demo in the whole set. -->
|
|
285
|
+
<ASlider
|
|
286
|
+
v-model="budget"
|
|
287
|
+
:field-key="k('budget')"
|
|
288
|
+
peers
|
|
289
|
+
:min="0"
|
|
290
|
+
:max="100"
|
|
291
|
+
color="neutral"
|
|
292
|
+
/>
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
<AAccordion
|
|
296
|
+
v-model="openSection"
|
|
297
|
+
:field-key="k('accordion')"
|
|
298
|
+
type="multiple"
|
|
299
|
+
:items="[
|
|
300
|
+
{ label: 'Recent activity', value: 'activity', icon: 'i-lucide-activity' },
|
|
301
|
+
{ label: 'Connected devices', value: 'devices', icon: 'i-lucide-monitor-smartphone' }
|
|
302
|
+
]"
|
|
303
|
+
>
|
|
304
|
+
<template #body="{ item: a }">
|
|
305
|
+
<ul class="space-y-1.5 text-xs text-muted">
|
|
306
|
+
<li
|
|
307
|
+
v-if="a.value === 'activity'"
|
|
308
|
+
class="flex gap-2"
|
|
309
|
+
>
|
|
310
|
+
<UIcon
|
|
311
|
+
name="i-lucide-dot"
|
|
312
|
+
class="size-4 shrink-0"
|
|
313
|
+
/> An entry was published
|
|
314
|
+
</li>
|
|
315
|
+
<li
|
|
316
|
+
v-if="a.value === 'activity'"
|
|
317
|
+
class="flex gap-2"
|
|
318
|
+
>
|
|
319
|
+
<UIcon
|
|
320
|
+
name="i-lucide-dot"
|
|
321
|
+
class="size-4 shrink-0"
|
|
322
|
+
/> A traveller signed the guestbook
|
|
323
|
+
</li>
|
|
324
|
+
<li
|
|
325
|
+
v-if="a.value === 'devices'"
|
|
326
|
+
class="flex gap-2"
|
|
327
|
+
>
|
|
328
|
+
<UIcon
|
|
329
|
+
name="i-lucide-dot"
|
|
330
|
+
class="size-4 shrink-0"
|
|
331
|
+
/> This browser
|
|
332
|
+
</li>
|
|
333
|
+
</ul>
|
|
334
|
+
</template>
|
|
335
|
+
</AAccordion>
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
<!-- Data -->
|
|
339
|
+
<div
|
|
340
|
+
v-else-if="item.value === 'data'"
|
|
341
|
+
class="pt-4 space-y-4"
|
|
342
|
+
>
|
|
343
|
+
<!-- `peers` highlights the row another visitor is hovering. -->
|
|
344
|
+
<ATable
|
|
345
|
+
:field-key="k('table')"
|
|
346
|
+
peers
|
|
347
|
+
:data="rows"
|
|
348
|
+
:columns="columns"
|
|
349
|
+
class="text-xs"
|
|
350
|
+
/>
|
|
351
|
+
<div class="flex items-center justify-between gap-3">
|
|
352
|
+
<!-- `UPagination`, not `APagination`, and deliberately so.
|
|
353
|
+
The aware wrapper declares `total` as a BOOLEAN flag
|
|
354
|
+
("all channels on"), which shadows UPagination's own
|
|
355
|
+
`total` — the item count. So an item count cannot
|
|
356
|
+
reach it: passing one silently enables total-awareness
|
|
357
|
+
mode and leaves the control paginating over nothing.
|
|
358
|
+
A control that lies about its data is worse than one
|
|
359
|
+
without a presence halo. Upstream naming collision;
|
|
360
|
+
swap back if `aware` is renamed. -->
|
|
361
|
+
<UPagination
|
|
362
|
+
v-model:page="page"
|
|
363
|
+
:total="40"
|
|
364
|
+
:items-per-page="10"
|
|
365
|
+
size="xs"
|
|
366
|
+
color="neutral"
|
|
367
|
+
/>
|
|
368
|
+
<AButton
|
|
369
|
+
:field-key="k('export')"
|
|
370
|
+
size="xs"
|
|
371
|
+
color="neutral"
|
|
372
|
+
variant="soft"
|
|
373
|
+
icon="i-lucide-download"
|
|
374
|
+
label="Export"
|
|
375
|
+
/>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
|
|
379
|
+
<!-- Settings -->
|
|
380
|
+
<div
|
|
381
|
+
v-else
|
|
382
|
+
class="pt-4 grid gap-5 sm:grid-cols-2"
|
|
383
|
+
>
|
|
384
|
+
<div class="space-y-4">
|
|
385
|
+
<div class="space-y-1.5">
|
|
386
|
+
<label class="text-xs font-medium text-muted">Release notes</label>
|
|
387
|
+
<ATextarea
|
|
388
|
+
v-model="notes"
|
|
389
|
+
:field-key="k('notes')"
|
|
390
|
+
peers
|
|
391
|
+
:rows="4"
|
|
392
|
+
autoresize
|
|
393
|
+
size="xs"
|
|
394
|
+
variant="soft"
|
|
395
|
+
color="neutral"
|
|
396
|
+
class="w-full"
|
|
397
|
+
/>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="space-y-1.5">
|
|
400
|
+
<label class="text-xs font-medium text-muted">Tags</label>
|
|
401
|
+
<AInputTags
|
|
402
|
+
v-model="tags"
|
|
403
|
+
:field-key="k('tags')"
|
|
404
|
+
size="xs"
|
|
405
|
+
variant="soft"
|
|
406
|
+
color="neutral"
|
|
407
|
+
class="w-full"
|
|
408
|
+
/>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="space-y-1.5">
|
|
411
|
+
<label class="text-xs font-medium text-muted">Accent</label>
|
|
412
|
+
<!-- In a popover: <AColorPicker> renders the full
|
|
413
|
+
saturation/hue panel inline, which dwarfs the rest of
|
|
414
|
+
the form and puts a rainbow in the middle of a
|
|
415
|
+
monochrome page. The swatch trigger keeps the chrome
|
|
416
|
+
quiet and the awareness halo still lands on it. -->
|
|
417
|
+
<UPopover>
|
|
418
|
+
<button
|
|
419
|
+
type="button"
|
|
420
|
+
class="flex items-center gap-2 rounded-md px-2 py-1 text-xs
|
|
421
|
+
bg-black/[0.04] dark:bg-white/[0.06]
|
|
422
|
+
ring-1 ring-inset ring-black/5 dark:ring-white/10
|
|
423
|
+
hover:bg-black/[0.07] dark:hover:bg-white/[0.1] transition-colors"
|
|
424
|
+
>
|
|
425
|
+
<span
|
|
426
|
+
class="size-3.5 rounded-full ring-1 ring-inset ring-black/10 dark:ring-white/15"
|
|
427
|
+
:style="{ background: accent }"
|
|
428
|
+
/>
|
|
429
|
+
<span class="tabular-nums text-muted">{{ accent }}</span>
|
|
430
|
+
</button>
|
|
431
|
+
<template #content>
|
|
432
|
+
<div class="p-2">
|
|
433
|
+
<AColorPicker
|
|
434
|
+
v-model="accent"
|
|
435
|
+
:field-key="k('accent')"
|
|
436
|
+
size="xs"
|
|
437
|
+
/>
|
|
438
|
+
</div>
|
|
439
|
+
</template>
|
|
440
|
+
</UPopover>
|
|
441
|
+
</div>
|
|
442
|
+
</div>
|
|
443
|
+
|
|
444
|
+
<div class="space-y-4">
|
|
445
|
+
<div class="flex items-center justify-between gap-3">
|
|
446
|
+
<span class="text-xs font-medium text-muted">Realtime sync</span>
|
|
447
|
+
<ASwitch
|
|
448
|
+
v-model="live"
|
|
449
|
+
:field-key="k('live')"
|
|
450
|
+
size="xs"
|
|
451
|
+
color="neutral"
|
|
452
|
+
/>
|
|
453
|
+
</div>
|
|
454
|
+
<div class="flex items-center justify-between gap-3">
|
|
455
|
+
<span class="text-xs font-medium text-muted">Notify on mention</span>
|
|
456
|
+
<ACheckbox
|
|
457
|
+
v-model="notify"
|
|
458
|
+
:field-key="k('notify')"
|
|
459
|
+
size="xs"
|
|
460
|
+
color="neutral"
|
|
461
|
+
/>
|
|
462
|
+
</div>
|
|
463
|
+
<div class="space-y-1.5">
|
|
464
|
+
<label class="text-xs font-medium text-muted">Snapshot density</label>
|
|
465
|
+
<AInputNumber
|
|
466
|
+
v-model="density"
|
|
467
|
+
:field-key="k('density')"
|
|
468
|
+
:min="1"
|
|
469
|
+
:max="9"
|
|
470
|
+
size="xs"
|
|
471
|
+
variant="soft"
|
|
472
|
+
color="neutral"
|
|
473
|
+
class="w-28"
|
|
474
|
+
/>
|
|
475
|
+
</div>
|
|
476
|
+
<div class="space-y-2">
|
|
477
|
+
<label class="text-xs font-medium text-muted">Pipeline</label>
|
|
478
|
+
<AStepper
|
|
479
|
+
v-model="step"
|
|
480
|
+
:field-key="k('stepper')"
|
|
481
|
+
:items="stepperItems"
|
|
482
|
+
size="xs"
|
|
483
|
+
color="neutral"
|
|
484
|
+
/>
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
</template>
|
|
489
|
+
</ATabs>
|
|
490
|
+
</section>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
<!-- Status bar -->
|
|
494
|
+
<div
|
|
495
|
+
class="flex items-center gap-3 border-t border-black/5 dark:border-white/10
|
|
496
|
+
px-4 py-2 text-[10px] uppercase tracking-[0.16em] text-dimmed"
|
|
497
|
+
>
|
|
498
|
+
<span class="flex items-center gap-1.5">
|
|
499
|
+
<span class="size-1.5 rounded-full bg-emerald-500" /> Connected
|
|
500
|
+
</span>
|
|
501
|
+
<span class="ml-auto normal-case tracking-normal">
|
|
502
|
+
Hover, focus and drag anything — other visitors see it.
|
|
503
|
+
</span>
|
|
504
|
+
</div>
|
|
505
|
+
</div>
|
|
506
|
+
</div>
|
|
507
|
+
|
|
508
|
+
<!-- Owner note: how to point this window somewhere else. -->
|
|
509
|
+
<p
|
|
510
|
+
v-if="editing"
|
|
511
|
+
class="mt-4 text-center text-xs text-dimmed"
|
|
512
|
+
>
|
|
513
|
+
Set <code class="text-muted">meta.windowUrl</code> to change the address bar.
|
|
514
|
+
</p>
|
|
515
|
+
</div>
|
|
516
|
+
</template>
|
|
@@ -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,9 @@
|
|
|
1
|
+
import type { JunBackdropKind } from '../types.js';
|
|
2
|
+
export declare function useJunBackdrop(): {
|
|
3
|
+
kind: import("vue").ComputedRef<false | JunBackdropKind>;
|
|
4
|
+
built: import("vue").ComputedRef<false | JunBackdropKind>;
|
|
5
|
+
/** The kinds the settings page may offer. Never includes `shader`. */
|
|
6
|
+
choices: import("vue").ComputedRef<JunBackdropKind[]>;
|
|
7
|
+
/** True while the shader is in charge — nothing runtime can change it. */
|
|
8
|
+
isShader: import("vue").ComputedRef<boolean>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { computed } from "vue";
|
|
2
|
+
import { useJunOptions } from "./useJunOptions.js";
|
|
3
|
+
import { useJunEffectiveConfig } from "./useJunSiteConfig.js";
|
|
4
|
+
export function useJunBackdrop() {
|
|
5
|
+
const opts = useJunOptions();
|
|
6
|
+
const config = useJunEffectiveConfig();
|
|
7
|
+
const built = computed(() => opts.features.backdrop ?? false);
|
|
8
|
+
const stored = computed(() => {
|
|
9
|
+
const v = config.value.themeBackdrop;
|
|
10
|
+
return typeof v === "string" ? v : void 0;
|
|
11
|
+
});
|
|
12
|
+
const kind = computed(() => {
|
|
13
|
+
if (built.value === false) return false;
|
|
14
|
+
if (built.value === "shader") return "shader";
|
|
15
|
+
const s = stored.value;
|
|
16
|
+
if (s && s !== "shader" && opts.backdrops.includes(s)) return s;
|
|
17
|
+
return built.value;
|
|
18
|
+
});
|
|
19
|
+
return {
|
|
20
|
+
kind,
|
|
21
|
+
built,
|
|
22
|
+
/** The kinds the settings page may offer. Never includes `shader`. */
|
|
23
|
+
choices: computed(() => opts.backdrops),
|
|
24
|
+
/** True while the shader is in charge — nothing runtime can change it. */
|
|
25
|
+
isShader: computed(() => kind.value === "shader")
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useJunBackground — the site's background IMAGE, resolved to something CSS can
|
|
3
|
+
* paint.
|
|
4
|
+
*
|
|
5
|
+
* ## Why this is not "another backdrop kind"
|
|
6
|
+
*
|
|
7
|
+
* The backdrop is a generated field — blobs, a lattice, crossing bands — and it
|
|
8
|
+
* is the site's ambient motion. A photograph is not that, and making it a tenth
|
|
9
|
+
* kind would have meant choosing between them. They compose instead: the image
|
|
10
|
+
* is the BASE and the backdrop draws over it, so a site can have a photograph
|
|
11
|
+
* with its dots drifting across it, or a texture under its aurora.
|
|
12
|
+
*
|
|
13
|
+
* **That is why the image is painted INSIDE the backdrop component rather than
|
|
14
|
+
* on a layer of its own underneath it.** Both backdrops own an opaque base
|
|
15
|
+
* colour on purpose — `mix-blend-mode` only blends within its own stacking
|
|
16
|
+
* context, so `multiply` over a transparent parent has nothing to multiply
|
|
17
|
+
* with and the aurora, mesh, rings, waves and noise kinds all lose their
|
|
18
|
+
* blending. Handing the base to a separate `-z-20` layer would have silently
|
|
19
|
+
* broken five of the nine kinds. The image therefore replaces the base colour
|
|
20
|
+
* in place, on the element that already owns it.
|
|
21
|
+
*
|
|
22
|
+
* ## What is stored
|
|
23
|
+
*
|
|
24
|
+
* One string, in either of two shapes:
|
|
25
|
+
*
|
|
26
|
+
* - `<docId>/<uploadId>` — an upload. The bytes live in the platform's
|
|
27
|
+
* content-addressed store, attached to the Site Config document, and are
|
|
28
|
+
* fetched through `useFileBlobStore` so they come out of IndexedDB on every
|
|
29
|
+
* visit after the first (and offline).
|
|
30
|
+
* - a literal URL (`https://…`, `/on-this-site.jpg`, `data:…`) — for a site
|
|
31
|
+
* that already hosts its own art.
|
|
32
|
+
*
|
|
33
|
+
* An upload reference resolves ASYNCHRONOUSLY and only on the client, because
|
|
34
|
+
* reading it needs an authenticated fetch. That is not a compromise here: the
|
|
35
|
+
* backdrops are `.client.vue` inside `<ClientOnly>` already, so nothing in the
|
|
36
|
+
* SSR payload was ever going to carry this.
|
|
37
|
+
*/
|
|
38
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
39
|
+
import type { JunBackgroundFit } from '../types.js';
|
|
40
|
+
export interface JunBackgroundSettings {
|
|
41
|
+
/** The stored reference, exactly as configured. Empty when there is none. */
|
|
42
|
+
ref: string;
|
|
43
|
+
fit: JunBackgroundFit;
|
|
44
|
+
opacity: number;
|
|
45
|
+
blur: boolean;
|
|
46
|
+
/** True when the site has an image configured at all. */
|
|
47
|
+
active: boolean;
|
|
48
|
+
}
|
|
49
|
+
/** Is this reference an upload (`docId/uploadId`) rather than a URL? */
|
|
50
|
+
export declare function junBackgroundUpload(value: string): {
|
|
51
|
+
docId: string;
|
|
52
|
+
uploadId: string;
|
|
53
|
+
} | null;
|
|
54
|
+
export declare function useJunBackgroundSettings(): ComputedRef<JunBackgroundSettings>;
|
|
55
|
+
/**
|
|
56
|
+
* The image as a CSS `background` shorthand's worth of properties, ready to
|
|
57
|
+
* spread onto a style binding — or `null` when the site has no background
|
|
58
|
+
* image, which is the signal to keep the flat theme base.
|
|
59
|
+
*
|
|
60
|
+
* The URL resolves asynchronously for uploads, so this starts `null` and fills
|
|
61
|
+
* in. A backdrop that flashed its base colour for one frame and then the photo
|
|
62
|
+
* would be worse than one that fades the photo in, which is why the consumer
|
|
63
|
+
* transitions it rather than switching.
|
|
64
|
+
*/
|
|
65
|
+
export declare function useJunBackgroundImage(): {
|
|
66
|
+
settings: ComputedRef<JunBackgroundSettings>;
|
|
67
|
+
/** `url("…")`, or empty while unresolved / not configured. */
|
|
68
|
+
url: Ref<string>;
|
|
69
|
+
/** `background-size` / `background-repeat` for the configured fit. */
|
|
70
|
+
size: ComputedRef<string>;
|
|
71
|
+
repeat: ComputedRef<string>;
|
|
72
|
+
};
|
|
73
|
+
/** The bounds the settings page clamps to, so it never stores a rejected value. */
|
|
74
|
+
export declare const JUN_BACKGROUND_VOCAB: {
|
|
75
|
+
FITS: JunBackgroundFit[];
|
|
76
|
+
OPACITY_MIN: number;
|
|
77
|
+
OPACITY_MAX: number;
|
|
78
|
+
};
|