@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,276 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
junMotion,
|
|
5
|
+
junStagger,
|
|
6
|
+
useAbracadabra,
|
|
7
|
+
useChildTree,
|
|
8
|
+
useDocImport,
|
|
9
|
+
useDocSlugs,
|
|
10
|
+
useDocTree,
|
|
11
|
+
useJunImagePopup,
|
|
12
|
+
useJunListDnD,
|
|
13
|
+
useJunRename,
|
|
14
|
+
useJunStudio,
|
|
15
|
+
useJunUpload,
|
|
16
|
+
useJunViewingAccent
|
|
17
|
+
} from "#imports";
|
|
18
|
+
const props = defineProps({
|
|
19
|
+
docId: { type: String, required: true },
|
|
20
|
+
docLabel: { type: String, required: false },
|
|
21
|
+
docMeta: { type: Object, required: false },
|
|
22
|
+
childProvider: { type: null, required: false },
|
|
23
|
+
editable: { type: Boolean, required: false }
|
|
24
|
+
});
|
|
25
|
+
const abra = useAbracadabra();
|
|
26
|
+
const tree = useChildTree(abra.doc, props.docId);
|
|
27
|
+
const { getEntry } = useDocTree();
|
|
28
|
+
const { getDocUrl } = useDocSlugs();
|
|
29
|
+
const { editing } = useJunStudio();
|
|
30
|
+
const { renameDoc } = useJunRename();
|
|
31
|
+
const { imageFiles } = useJunUpload();
|
|
32
|
+
const { importFile } = useDocImport();
|
|
33
|
+
const { openImagePopup } = useJunImagePopup();
|
|
34
|
+
const { accentInsetStyle, accentTitle } = useJunViewingAccent();
|
|
35
|
+
const pageTitle = computed(() => getEntry(props.docId)?.label ?? props.docLabel ?? "Wall");
|
|
36
|
+
const subtitle = computed(() => {
|
|
37
|
+
const meta = getEntry(props.docId)?.meta;
|
|
38
|
+
const ex = meta?.excerpt ?? props.docMeta?.excerpt;
|
|
39
|
+
return typeof ex === "string" && ex.trim() ? ex : void 0;
|
|
40
|
+
});
|
|
41
|
+
function renamePage(t) {
|
|
42
|
+
renameDoc(props.docId, t);
|
|
43
|
+
}
|
|
44
|
+
function renameSubtitle(s) {
|
|
45
|
+
tree.updateMeta(props.docId, { excerpt: s || void 0 });
|
|
46
|
+
}
|
|
47
|
+
const children = computed(() => tree.childrenOf(null) ?? []);
|
|
48
|
+
const photos = computed(
|
|
49
|
+
() => children.value.filter((e) => !!e.label && !!e.meta?.coverUploadId)
|
|
50
|
+
);
|
|
51
|
+
const photoless = computed(
|
|
52
|
+
() => children.value.filter((e) => !!e.label && !e.meta?.coverUploadId)
|
|
53
|
+
);
|
|
54
|
+
const wallEl = ref(null);
|
|
55
|
+
const {
|
|
56
|
+
orderedItems,
|
|
57
|
+
dragId,
|
|
58
|
+
externalHover,
|
|
59
|
+
onItemDragStart,
|
|
60
|
+
onItemDragEnd,
|
|
61
|
+
onContainerDragOver,
|
|
62
|
+
onContainerDragLeave,
|
|
63
|
+
onContainerDrop
|
|
64
|
+
} = useJunListDnD({
|
|
65
|
+
tree,
|
|
66
|
+
containerDocId: props.docId,
|
|
67
|
+
items: photos,
|
|
68
|
+
containerEl: wallEl,
|
|
69
|
+
reorderable: true,
|
|
70
|
+
ghostIconFor: () => "i-lucide-images"
|
|
71
|
+
});
|
|
72
|
+
function openPhoto(index, e) {
|
|
73
|
+
const items = orderedItems.value.map((p) => ({
|
|
74
|
+
docId: p.id,
|
|
75
|
+
uploadId: p.meta.coverUploadId,
|
|
76
|
+
mime: p.meta.coverMimeType ?? "image/jpeg",
|
|
77
|
+
alt: p.label
|
|
78
|
+
}));
|
|
79
|
+
openImagePopup(e, items, index);
|
|
80
|
+
}
|
|
81
|
+
const fileInput = ref(null);
|
|
82
|
+
const dropActive = ref(false);
|
|
83
|
+
const uploading = ref(false);
|
|
84
|
+
async function addPhotos(files) {
|
|
85
|
+
const images = files.filter((f) => f.type.startsWith("image/"));
|
|
86
|
+
if (!images.length || uploading.value) return;
|
|
87
|
+
uploading.value = true;
|
|
88
|
+
try {
|
|
89
|
+
for (const file of images) {
|
|
90
|
+
const id = await importFile(file, props.docId);
|
|
91
|
+
const meta = getEntry(id)?.meta ?? {};
|
|
92
|
+
if (!meta.date) {
|
|
93
|
+
tree.updateMeta(id, { date: meta.dateTaken ?? (/* @__PURE__ */ new Date()).toISOString() });
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
} finally {
|
|
97
|
+
uploading.value = false;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function onFilesPicked(e) {
|
|
101
|
+
const input = e.target;
|
|
102
|
+
if (input.files) void addPhotos(Array.from(input.files));
|
|
103
|
+
input.value = "";
|
|
104
|
+
}
|
|
105
|
+
function onWallDragOver(e) {
|
|
106
|
+
if (!editing.value || !e.dataTransfer?.types.includes("Files")) return;
|
|
107
|
+
e.preventDefault();
|
|
108
|
+
e.dataTransfer.dropEffect = "copy";
|
|
109
|
+
dropActive.value = true;
|
|
110
|
+
}
|
|
111
|
+
function onWallDragLeave(e) {
|
|
112
|
+
const related = e.relatedTarget;
|
|
113
|
+
if (related && e.currentTarget.contains(related)) return;
|
|
114
|
+
dropActive.value = false;
|
|
115
|
+
}
|
|
116
|
+
function onWallDrop(e) {
|
|
117
|
+
if (!editing.value) return;
|
|
118
|
+
const imgs = imageFiles(e.dataTransfer);
|
|
119
|
+
if (!imgs.length) return;
|
|
120
|
+
e.preventDefault();
|
|
121
|
+
dropActive.value = false;
|
|
122
|
+
void addPhotos(imgs);
|
|
123
|
+
}
|
|
124
|
+
function commitCaption(p, e) {
|
|
125
|
+
const el = e.target;
|
|
126
|
+
const v = el.textContent?.trim() ?? "";
|
|
127
|
+
if (v && v !== p.label) renameDoc(p.id, v);
|
|
128
|
+
else el.textContent = p.label;
|
|
129
|
+
}
|
|
130
|
+
</script>
|
|
131
|
+
|
|
132
|
+
<template>
|
|
133
|
+
<div
|
|
134
|
+
ref="wallEl"
|
|
135
|
+
class="relative mx-auto w-full max-w-5xl rounded-xl px-4 pt-12 pb-16 transition-shadow duration-200 sm:px-8"
|
|
136
|
+
:class="dropActive || externalHover ? 'ring-2 ring-inset ring-black/20 dark:ring-white/25' : ''"
|
|
137
|
+
@dragover="onWallDragOver($event);
|
|
138
|
+
onContainerDragOver($event)"
|
|
139
|
+
@dragleave="onWallDragLeave($event);
|
|
140
|
+
onContainerDragLeave($event)"
|
|
141
|
+
@drop="onWallDrop($event);
|
|
142
|
+
onContainerDrop($event)"
|
|
143
|
+
>
|
|
144
|
+
<JunPageHero
|
|
145
|
+
:title="pageTitle"
|
|
146
|
+
:subtitle="subtitle"
|
|
147
|
+
:editable="editing"
|
|
148
|
+
@rename="renamePage"
|
|
149
|
+
@rename-subtitle="renameSubtitle"
|
|
150
|
+
/>
|
|
151
|
+
|
|
152
|
+
<div
|
|
153
|
+
v-if="editing"
|
|
154
|
+
class="mb-6"
|
|
155
|
+
>
|
|
156
|
+
<input
|
|
157
|
+
ref="fileInput"
|
|
158
|
+
type="file"
|
|
159
|
+
accept="image/*"
|
|
160
|
+
multiple
|
|
161
|
+
class="hidden"
|
|
162
|
+
@change="onFilesPicked"
|
|
163
|
+
>
|
|
164
|
+
<UButton
|
|
165
|
+
icon="i-lucide-image-plus"
|
|
166
|
+
size="sm"
|
|
167
|
+
color="neutral"
|
|
168
|
+
variant="soft"
|
|
169
|
+
:loading="uploading"
|
|
170
|
+
label="Add photos"
|
|
171
|
+
@click="fileInput?.click()"
|
|
172
|
+
/>
|
|
173
|
+
<span class="ml-2 text-xs text-dimmed">or drop images anywhere on the wall</span>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div
|
|
177
|
+
v-if="!orderedItems.length"
|
|
178
|
+
class="py-16 text-center"
|
|
179
|
+
>
|
|
180
|
+
<UIcon
|
|
181
|
+
name="i-lucide-images"
|
|
182
|
+
class="mb-3 size-10 text-dimmed"
|
|
183
|
+
/>
|
|
184
|
+
<p class="text-sm text-muted">
|
|
185
|
+
Nothing pinned yet.
|
|
186
|
+
</p>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<!-- CSS columns: order flows DOWN each column, which is what makes a
|
|
190
|
+
masonry read as a wall rather than a grid with gaps. -->
|
|
191
|
+
<div
|
|
192
|
+
v-else
|
|
193
|
+
class="columns-2 gap-3 [column-fill:_balance] sm:columns-3 sm:gap-4"
|
|
194
|
+
>
|
|
195
|
+
<figure
|
|
196
|
+
v-for="(p, i) in orderedItems"
|
|
197
|
+
:key="p.id"
|
|
198
|
+
v-motion="junMotion(junStagger(Math.min(i, 8), { delayMs: 50 }))"
|
|
199
|
+
class="mb-3 break-inside-avoid sm:mb-4"
|
|
200
|
+
:data-dnd-id="p.id"
|
|
201
|
+
:draggable="editing ? true : void 0"
|
|
202
|
+
:class="editing ? dragId === p.id ? 'cursor-grabbing opacity-70' : 'cursor-grab' : ''"
|
|
203
|
+
@dragstart="onItemDragStart(p, $event)"
|
|
204
|
+
@dragend="onItemDragEnd($event)"
|
|
205
|
+
>
|
|
206
|
+
<JunItemMenu
|
|
207
|
+
:entry="p"
|
|
208
|
+
:tree="tree"
|
|
209
|
+
>
|
|
210
|
+
<div
|
|
211
|
+
class="group relative cursor-zoom-in overflow-hidden rounded-xl ring-1 ring-black/10 transition-all duration-300 hover:scale-[1.01] hover:shadow-xl dark:ring-white/10"
|
|
212
|
+
:title="accentTitle(p.id)"
|
|
213
|
+
@click="openPhoto(i, $event)"
|
|
214
|
+
>
|
|
215
|
+
<span
|
|
216
|
+
v-if="accentInsetStyle(p.id)"
|
|
217
|
+
aria-hidden="true"
|
|
218
|
+
class="pointer-events-none absolute inset-0 z-10 rounded-[inherit]"
|
|
219
|
+
:style="accentInsetStyle(p.id)"
|
|
220
|
+
/>
|
|
221
|
+
<JunMedia
|
|
222
|
+
:doc-id="p.id"
|
|
223
|
+
:upload-id="p.meta.coverUploadId"
|
|
224
|
+
:mime-type="p.meta.coverMimeType || 'image/jpeg'"
|
|
225
|
+
:alt="p.label"
|
|
226
|
+
:size="900"
|
|
227
|
+
media-class="w-full h-auto grayscale-[0.15] group-hover:grayscale-0 transition-[filter] duration-500"
|
|
228
|
+
/>
|
|
229
|
+
</div>
|
|
230
|
+
</JunItemMenu>
|
|
231
|
+
<figcaption
|
|
232
|
+
class="mt-1.5 truncate px-0.5 text-xs text-muted outline-none"
|
|
233
|
+
:contenteditable="editing ? 'plaintext-only' : void 0"
|
|
234
|
+
spellcheck="false"
|
|
235
|
+
:class="editing ? 'cursor-text rounded px-1 -mx-0.5 transition-shadow hover:ring-1 hover:ring-black/15 focus:ring-1 focus:ring-black/25 dark:hover:ring-white/20 dark:focus:ring-white/30' : ''"
|
|
236
|
+
@blur="editing && commitCaption(p, $event)"
|
|
237
|
+
@click.stop
|
|
238
|
+
>{{ p.label }}</figcaption>
|
|
239
|
+
</figure>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<!-- Children with no image: a page converted from another type, or an
|
|
243
|
+
upload that never finished. Listed so they are never lost. -->
|
|
244
|
+
<div
|
|
245
|
+
v-if="editing && photoless.length"
|
|
246
|
+
class="mt-8"
|
|
247
|
+
>
|
|
248
|
+
<div class="mb-3 flex items-baseline gap-3">
|
|
249
|
+
<h2 class="text-xs font-medium tracking-[0.22em] text-dimmed uppercase">
|
|
250
|
+
Without a photo
|
|
251
|
+
</h2>
|
|
252
|
+
<div class="h-px flex-1 bg-black/10 dark:bg-white/10" />
|
|
253
|
+
</div>
|
|
254
|
+
<ul class="flex flex-wrap gap-2">
|
|
255
|
+
<li
|
|
256
|
+
v-for="e in photoless"
|
|
257
|
+
:key="e.id"
|
|
258
|
+
>
|
|
259
|
+
<JunItemMenu
|
|
260
|
+
:entry="e"
|
|
261
|
+
:tree="tree"
|
|
262
|
+
>
|
|
263
|
+
<UButton
|
|
264
|
+
:to="getDocUrl(e.id)"
|
|
265
|
+
icon="i-lucide-file-question"
|
|
266
|
+
color="neutral"
|
|
267
|
+
variant="soft"
|
|
268
|
+
size="xs"
|
|
269
|
+
:label="e.label"
|
|
270
|
+
/>
|
|
271
|
+
</JunItemMenu>
|
|
272
|
+
</li>
|
|
273
|
+
</ul>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
276
|
+
</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,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;
|